﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Classes
{
    class Program
    {
        static void Main(string[] args)
        {

            Booking b = new Booking();
           // b.book(connection, 3); // specific connection + number of seats + called from filled booking form in GUI 





            //bool found = false;
            //Console.WriteLine("Welcome to our flight search programme.");
            //while (found != true)
            //{
            //    Console.WriteLine("Please type name of the City you want to go from");
            //    Searcher searcher = new Searcher();
            //    IGraphImpl graph = searcher.ReturnGraph();
            //    String cityFrom = Console.ReadLine();

            //    City from = graph.GetCityByName(cityFrom);
            //    if (from != null)
            //    {
            //        Console.WriteLine("Please write the city you want to go to");

            //        String cityTo = Console.ReadLine();
            //        City to = graph.GetCityByName(cityTo);
            //        if (to != null)
            //        {
            //            searcher.MakeASearchInGraph(from, to);

            //            Console.ReadLine();
            //            found = true;
            //        }
            //        else
            //        {
            //            Console.WriteLine("This city does not exist.");
            //        }
            //    }
            //    else
            //    {
            //        Console.WriteLine("This city does not exist.");

            //    }
            //}

        }

    }
}
    


